package com.example.mybatisdemo.Mapper;

import com.example.mybatisdemo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserXmlMapper {
    public List<UserInfo> query();
    public List<UserInfo> query1(List<Integer> list);
    public Integer insert(UserInfo userInfo);
    public Integer update(@Param("id") Integer id,@Param("name") String username);
    public Integer delete(Integer id);
    public Integer insert1(UserInfo userInfo);
    public Integer update1(@Param("id") Integer id,@Param("name") String username);

}
